package net.risesoft.risereport.obj.authorization.presentation;

import net.risesoft.risereport.obj.authorization.service.AuthorizationService;
import net.risesoft.risereport.obj.common.util.ContextUtil;

public class AuthorizationManager {
	private AuthorizationService authorizationService = null;

	public AuthorizationManager() {
		this.authorizationService = (AuthorizationService) ContextUtil
				.getInstance().getContext().getBean("authorizationService");
	}

	public AuthorizationService getAuthorizationService() {
		return authorizationService;
	}

	public void setAuthorizationService(
			AuthorizationService authorizationService) {
		this.authorizationService = authorizationService;
	}

}
